package com.cnap.multiclouldmgmt.model.scale.db;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <类文件描述>
 *
 * @author xc
 **/
public class ScalingConfigPO {
    private String id;
    private String configName;
    private LocalDateTime createTime;
    // 云资源管理处，模板id，用于获取规格（vCPU内存，磁盘）
    private List<String> cloudResourceIds;

    private String userId;
    private String userName;
    private String provider;
    private String accountName;

    /**
     * get
     *
     * @return AccountName
     */
    public String getAccountName() {
        return accountName;
    }

    /**
     * set
     *
     * @param accountName accountName
     */
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return ConfigName
     */
    public String getConfigName() {
        return configName;
    }

    /**
     * set
     *
     * @param configName configName
     */
    public void setConfigName(String configName) {
        this.configName = configName;
    }

    /**
     * get
     *
     * @return CreateTime
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * set
     *
     * @param createTime createTime
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * get
     *
     * @return CloudResourceIds
     */
    public List<String> getCloudResourceIds() {
        return cloudResourceIds;
    }

    /**
     * set
     *
     * @param cloudResourceIds cloudResourceIds
     */
    public void setCloudResourceIds(List<String> cloudResourceIds) {
        this.cloudResourceIds = cloudResourceIds;
    }

    /**
     * get
     *
     * @return UserId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * set
     *
     * @param userId userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * get
     *
     * @return UserName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * set
     *
     * @param userName userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * get
     *
     * @return Provider
     */
    public String getProvider() {
        return provider;
    }

    /**
     * set
     *
     * @param provider provider
     */
    public void setProvider(String provider) {
        this.provider = provider;
    }

    @Override
    public String toString() {
        return "ScalingConfigPO{" +
                "id='" + id + '\'' +
                ", configName='" + configName + '\'' +
                ", createTime=" + createTime +
                ", cloudResourceIds=" + cloudResourceIds +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", provider='" + provider + '\'' +
                '}';
    }
}
